#ifndef __CITEMPROPERTIES_INCLUDED__
#define __CITEMPROPERTIES_INCLUDED__
#include "c_xml_item_properties.h"
#endif

#ifndef __VECTOR_INCLUDED__
#define __VECTOR_INCLUDED__
#include <vector>
#endif


#ifndef __STRING_INCLUDED__
#define __STRING_INCLUDED__
#include <string>
#endif

class c_xmlcontainer_node{
          
	private:	  
			
			 int TreeNodeID;
			 char * RealName;
			 int Level;
			 int Parent_TreeNodeID;
			 int Is__Closed;
			 std::vector<c_xmlitemproperties*> p_list;
			 c_xmlitemproperties *tmp_prop;
			 int Cant_Valores;
	public:     
             c_xmlcontainer_node(int P_TreeNodeID, int P_Level, int P_Parent_TreeNodeID, int P_Is__Closed, char * P_RName);
			 ~c_xmlcontainer_node();
			 void GetName(char * &str);
			 void Set_Level(int LVL);
			 int  Get_Level(void);
			 void Close_it(void);
			 void Open_it(void);
			 int  Is_Closed(void);
			 int  add_propertie(char * P_Name, char * P_Value);           
             int GetPropertyValueByName(char * name, char * &value);
			 int GetPropertyByID(int P_ID,char * &P_name, char * &P_value);
			 int GetPropertyCount(void);
};



